如何用sql查询出连续三个月金额大于50的记录
with tmp as(select 'A' AS USERNAME,to_date('2017.10','yyyy.mm') month,45 num from dual union allsele ...
with tmp as(select 'A' AS USERNAME,to_date('2017.10','yyyy.mm') month,45 num from dual union allsele ...